package com.hengtian.roastwall.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("评论实体类")
public class Comment {
    @ApiModelProperty("评论id")
    private Long commentId;
    @ApiModelProperty("文章id")
    private String articleId;
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("评论内容")
    private String commentContent;
    @ApiModelProperty("评论图片名")
    private String commentPic;
    @ApiModelProperty("点赞数量")
    private int supportNum;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("用户名称")
    @TableField(exist = false)
    private String userName;
    @ApiModelProperty("用户名称")
    @TableField(exist = false)
    private String userAvatar;
}
